{% load tagging_tags comments i18n thumbnail %}

<div class="entry-header">
  <div class="entry-comments topleft">
	{% if object.comments_are_open %}
		<a href="{{ object.get_absolute_url }}#disqus_thread" title="Comment at {{ object.title }}"></a>
	{% endif %}
  </div>
  <h2 class="entry-title">
    <a href="{{ object.get_absolute_url }}" title="{{ object.title }}" rel="bookmark">
      {{ object.title }}
    </a>
  </h2>
</div>

<div class="entry-body">
  {% if object.image %}
  <div class="entry-image">
      <a href="{{ object.get_absolute_url }}" rel="bookmark">
      {% thumbnail object.image "120x90" crop="center" as im %}
        <img src="{{ im.url }}" alt="{{ object.title }}" class="left" />
      {% endthumbnail %}
      </a>
  </div>
  {% endif %}
  <div class="entry-content">
    {{ object_content }}
  </div>
</div>

<div class="entry-footer">
  <p class="entry-info">
  <abbr class="published" title="{{ object.creation_date|date:"c" }}Z">{{ object.creation_date|date:"DATE_FORMAT" }}</abbr>
    {% if object.categories.count %}

    {% for category in object.categories.all %}
    <a href="{{ category.get_absolute_url }}" title="{{ category }}" rel="tag category">{{ category|lower }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}  
		<g:plusone size="medium" href="http://www.thehien.info{{object.get_absolute_url}}"></g:plusone>
    <br />
    {% tags_for_object object as tag_list %}
    {% for tag in tag_list %}
    <a class="tag" href="{% url zinnia_tag_detail tag %}"
       title="Tag {{ tag }}" rel="tag">&bull; {{ tag }}</a>
    {% endfor %}
	</p>
</div>
